package com.github.pig.admin.model.repair;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;

@Data
@TableName("sys_role")
public class RoleList  {

    private static final long serialVersionUID = 1L;

    @TableId(value = "role_id", type = IdType.AUTO)
    private Integer roleId;
    @TableField("role_name")
    private String name;

    @Override
    public String toString() {
        return "RoleList{" +
                "roleId=" + roleId +
                ", name='" + name + '\'' +
                '}';
    }
}
